/**
SimplifyDepartmentFunction.java
jackysoft-basic-core
2012-8-15上午11:41:26
@author 屈甲康
@QQ285799123
mailto:qujiakang@126.com
**/
package org.jackysoft.google.collection;

import javax.annotation.Nullable;

import org.jackysoft.entity.Department;

import com.google.common.base.Function;

public class SimplifyDepartmentFunction implements
		Function<Department, Department> {
	
	@Override
	public Department apply(@Nullable Department from) {
		return new Department(from.getId(),from.getName());
	}

}
